<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>欢迎访问产品运营互动中心！</title>
		<%@ include file="/commons/include/head-meta.inc.jsp"%>
		<script type="text/javascript">
			function contractDetail(){
			    var url='${contractUrl}';
			    window.open(url,null,"height=700,width=1020,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes");
			}
		</script>		
	</head>
	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
	<form name="applyForm" action="" method="post" enctype="multipart/form-data">
		<input type="hidden" id="isCommitId" name="isCommit" value=""/>
		<input type="hidden" name="flowTaskId" value="${taskView.procTranRecord.id }"/>
		<input type="hidden" name="procinstId" value="${taskView.procTranRecord.procinstId }"/>
		<table width="980" border="0" cellspacing="0" cellpadding="0"
			align="center">
			<tr>
				<td>
					<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<s:url value="/images/new/gxzl_index_2.gif"/>">

						<tr>
							<td width="20" height="32">
								&nbsp;
							</td>
							<td width="20">
								<img src="<s:url value="/images/new/dq_dot.gif"/>" width="15" height="12" />
							</td>
							<td>
								当前位置：
								<font color="#003399">业务需求交互单</font>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td background="" class="leftbg">
					<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
						<tr>
							<td width="20%" valign="top">
								<jsp:include page="inc/functionButonForContract.inc.jsp">
									<jsp:param name="formUrl" value="flowContractInfo_commitDealTaskRemind.action"/>
								</jsp:include>
								<table width="96%" border="0" cellspacing="0" cellpadding="0"
									align="center" bgcolor="#FFFFFF">
									<tr>
										<td valign="top" align="center">
												
												<table width="100%" border="0" cellspacing="0"
													cellpadding="7" align="center" class=tablecolor2>
													<tr>
														<td background="<s:url value="/images/catalog_manage_bbs_3.gif"/>"
															colspan="4">
															<span style="margin-top: 0px; margin-left: 14px">
																<img src="<s:url value="/images/catalog_manage_12.gif"/>" width=13 height=13 alt="">
															</span>
															<strong>流程信息</strong>
														</td>
													</tr>
													<tr>
														<td width="14%" bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																当前状态：
															</div>
														</td>
														<td width="36%">${taskView.procTranRecord.processStep.name }</td>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																当前办理人：
															</div>
														</td>
														<td width="36%">${taskView.procTranRecord.transactor.name }
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																当前流程：
															</div>
														</td>
														<td colspan="3">${taskView.procTranRecord.processConfig.name }
														</td>
													</tr>
													
													<s:if test="#request.taskView.procTranRecord.state!='end'">
													<s:if test="#request.taskView.childTaskNodeList.size()>0">
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																<font color="red">*</font>下一步骤：
															</div>
														</td>
														<td colspan="3">
															<jsp:include page="inc/nextNodeSetpForContract.inc.jsp"></jsp:include>
														</td>
													</tr>													
													</s:if>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																<font color="red">*</font>办理意见：
															</div>
														</td>
														<td colspan="3">
															<textarea id="commentComtentID" name="commentComtent" style="width: 95%;height: 60px" dataType="Require" msg="必填">${taskView.procTranRecord.transactInfo }</textarea>
														</td>
													</tr>
																										
													</s:if>
													<s:if test="#request.nextContractRemind!=null">
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																下一特殊约束条件：
															</div>
														</td>
														<td colspan="3">
															<textarea id="nextRemindContent" name="nextRemindContent" style="width: 95%;height: 60px">${nextContractRemind.condNote }</textarea>
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																下一提醒时间：
															</div>
														</td>
														<td colspan="3">
															<input type="hidden" name="nextRemindId" value="${nextContractRemind.id }"/>
															<input type="text" name="nextCondTime" class="Wdate" style="width: 100px" onFocus="WdatePicker({isShowClear:true,readOnly:true})" value="${nextContractRemind.condTime }"/>
														</td>
													</tr>
													</s:if>
												</table>

												<table width="100%" border="0" cellspacing="0"
													cellpadding="7" align="center" class=tablecolor2>
													<tr>
														<td background="<s:url value="/images/catalog_manage_bbs_3.gif"/>"
															colspan="4">
															<span style="margin-top: 0px; margin-left: 14px">
																<img src="<s:url value="/images/catalog_manage_12.gif"/>" width=13 height=13 alt="">
															</span>
															<strong>基本信息</strong>
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																合同名称：
															</div>
														</td>
														<td width="36%">
															${contractInfo.contractName }														
														</td>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																产品类别：
															</div>
														</td>
														<td width="36%">
															${contractInfo.contractType.name}
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																正式合同编号：
															</div>
														</td>
														<td width="36%">
															${contractInfo.serial}															
														</td>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																会签编号：
															</div>
														</td>
														<td width="36%">
															${contractInfo.signCode}
															<s:if test="#request.contractInfo.signCode!=null">
																<a href="javascript:void(0);" onClick="contractDetail();">查看合同详情</a>
															</s:if>
														</td>
													</tr>
													
													<tr>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																签约方公司名称：
															</div>
														</td>
														<td>
															${contractInfo.signatoriesName }
														</td>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																第三方公司名称：
															</div>
														</td>
														<td width="36%">
															${contractInfo.thirdName }
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																合同起草人：
															</div>
														</td>
														<td width="36%">
															${contractInfo.creatorName}
														</td>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																合同金额：
															</div>
														</td>
														<td>${contractInfo.amount}</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																生效时间：
															</div>
														</td>
														<td width="36%">
															<s:date name="#request.contractInfo.effectTime" format="yyyy-MM-dd" />
														</td>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																到期时间：
															</div>
														</td>
														<td width="36%">
														<s:date name="#request.contractInfo.maturityTime" format="yyyy-MM-dd" />
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																是否顺延：
															</div>
														</td>
														<td width="36%">
															${contractInfo.postpone }
														</td>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																顺延时间：
															</div>
														</td>
														<td width="36%">
														<s:date name="#request.contractInfo.postponeTime" format="yyyy-MM-dd" />
														</td>
													</tr>
													
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																当前特殊约束条款：
															</div>
														</td>
														<td colspan="3">
															${bpmAppInfo.appTitle }
														</td>
														
													</tr>
													
												</table>
												
												<table width="100%" border="0" cellspacing="0"
													cellpadding="7" align="center" class=tablecolor2>
													<tr>
														<td
															background="<s:url value="/images/catalog_manage_bbs_3.gif"/>"
															colspan="4">
															<span style="margin-top: 0px; margin-left: 14px"><img
																	src="<s:url value="/images/catalog_manage_12.gif"/>" width="13" height="13" alt="">
															</span>
															<strong>办理过程</strong>
														</td>
													</tr>
													
													<tr>
														<td>
														<jsp:include page="inc/taskDetailList.inc.jsp"></jsp:include>
														</td>
													</tr>
												</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		</form>
	</body>
</html>